package com.lagou.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @description: 商品表实体类
 **/
@Data
@TableName("goods")
public class Goods implements Serializable {
    @TableId("id")
    private long id; //商品id
    private String name; //商品名
    private String category; //分类
    private double price; //价格
    private long stock; //库存
    private String status; //状态
    private Date createTime;
    private Date updateTime;
}
